package com.koron.car.web.authorized.service;

import com.koron.car.web.authorized.bean.entity.DelimitChange;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

public interface DelimitChangeService {

    DelimitChange getDelimitNum(SessionFactory factory, String applyId, String type);

    DelimitChange queryById(SessionFactory factory, String changeId);

    int insertBatch(SessionFactory factory, List<DelimitChange> changes);

    int insert(SessionFactory factory, DelimitChange change);

    boolean deleteById(SessionFactory factory, String changeId);

    boolean deleteByApplyId(SessionFactory factory, String applyId);

    List<DelimitChange> queryByApplyId(SessionFactory factory, String applyId);
}
